package com.llb666.shop.payment.domain.repository;


import com.llb666.shop.payment.domain.entity.PayOrders;

/**
 * 支付相关仓储层.
 *
 * @author llb666
 */
public interface PaymentOrderRepository {

    public void updateOrderPaid(String merchantOrderId, Integer paidAmount);

    PayOrders queryMerchantPayOrder(String merchantOrderId);

    PayOrders queryOrderInfo(String merchantUserId, String merchantOrderId);

    PayOrders queryOrderByStatus(String merchantUserId, String merchantOrderId, Integer type);

    int insert(PayOrders paymentOrder);
}
